﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Controls_ControlTimKiem : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            txtSearch.Text = Convert.ToString(Session["TuKhoa"]);
        }
    }
    protected void cmdSearch_Click(object sender, ImageClickEventArgs e)
    {
        Session["TuKhoa"] = txtSearch.Text;
        Response.Redirect("~/TimKiem.aspx");
    }
}